package com.youlai.boot.modules.distribution.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 品牌排行响应VO
 * 
 * @author xiheforever
 * @since 2025-06-05
 */
@Schema(description = "品牌排行响应VO")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BrandRankingResponseVO {

    @Schema(description = "品牌排行数据列表")
    private List<BrandRankingDataVO> data;

    @Schema(description = "品牌排行数据VO")
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class BrandRankingDataVO {

        @Schema(description = "品牌名称", example = "华为")
        private String brandName;

        @Schema(description = "主要类目", example = "数码电器")
        private String mainCategory;

        @Schema(description = "成交金额(万元)", example = "2456.78")
        private BigDecimal transactionAmount;

        @Schema(description = "增长率(%)", example = "15.6")
        private BigDecimal growthRate;

        @Schema(description = "趋势图标", example = "up")
        private String trendIcon;

        @Schema(description = "排名", example = "1")
        private Integer rank;
    }
} 